package com.cloudcc.mobile.entity;

import android.provider.CallLog;

/**
 * Created by lin on 2017/6/2.
 *
 * 通话记录的bean
 */

public class CallLogEntity {

    public String name;
    public String number;
    public String date;//时间
    public String duration;//通话时长
    public int type;//电话类型: CallLog.Calls.INCOMING_TYPE=1=打入      CallLog.Calls.OUTGOING_TYPE=2=打出   CallLog.Calls.MISSED_TYPE=3=未接
    public int match;//匹配类型：1 = 完全匹配   2 = 多个匹配（电话匹配）   3 = 不匹配  4=多个匹配（名字匹配）
    public String id;


    public CallLogEntity(String name, String number, String date, String duration, int type ,int match , String id) {
        this.name = name;
        this.number = number;
        this.date = date;
        this.duration = duration;
        this.type = type;
        this.match = match;
        this.id = id;
    }
}
